package com.cnhis.cloudhealth.clinical.hosdoctor.doctororderupdate.dao;

import com.cnhis.cloudhealth.commons.dao.BaseDao;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class DoctororderupdateDao extends BaseDao {
  
	public int getBlp02(Map map) throws Exception {
		return (int) queryForExtObject("Doctororderupdate.getBlp02", map);
	}

	public Integer getBlp04(Map map) throws Exception {
		return (Integer) queryForExtObject("Doctororderupdate.getBlp04", map);
	}

	public Integer getVaa10(Map map) throws Exception {
		return (Integer) queryForExtObject("Doctororderupdate.getVaa10", map);
	}

	public int getVcj04Vcj05(Map map) throws Exception {
		return  (Integer) queryForExtObject("Doctororderupdate.getVcj04Vcj05", map);
	}
	
	public List checkUpdateAdvice(Map map)throws Exception{
		return queryForList("Doctororderupdate.7351", map);
	}
	public List saveCASign(Map map)throws Exception{
		return queryForList("Doctororderupdate.saveCASign", map);
	}
	public List queryRequestExamine1(Map map)throws Exception{
		return queryForList("Doctororderupdate.queryRequestExamine1", map);
	}
	public List queryRequestExamine2(Map map)throws Exception{
		return queryForList("Doctororderupdate.queryRequestExamine2", map);
	}
    public Map getBCE02AndBCE03(Map map)throws Exception{
	  return (Map) queryForExtObject("Doctororderupdate.getBCE02AndBCE03", map);
	}
    public List clinicAdviceDistillUpdate(Map map) throws Exception{
    	return queryForList("Doctororderupdate.clinicAdviceDistillUpdate", map);
    }
	public String getABC02Param1(Map map)throws Exception{
		return (String) queryForExtObject("Doctororderupdate.getABC02Param1", map);
	}
	public String getABC02Param2(Map map)throws Exception{
		return (String) queryForExtObject("Doctororderupdate.getABC02Param2", map);
	}
	public List paramters(Map map)throws Exception{
		return queryForList("Doctororderupdate.paramters", map);
	}
	public List getoperatingCrew(Map map)throws Exception{
		return queryForList("Doctororderupdate.getoperatingCrew", map);
	}
}
